body,
html {
	height: 100%;
}
body {
	display: flex;
	flex-direction: column;
	background-color: #e8e8e8;
}
// 主体
main {
	height: 100%;
	flex-grow: 1;
	overflow: auto;
	//用户名
	#username {
		width: 100%;
		height: 180px;
		padding: 0 20px;
		margin-bottom: 20px;
		box-sizing: border-box;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		background-color: #fff;

		img {
			overflow: hidden;
			height: 100px;
			width: 100px;
			margin-right: 20px;
			border-radius: 50%;
			border: 1px solid #4294ff;
		}

		h2 {
			font-size: 18px;
			color: #8a8a8a;
		}
		p {
			font-size: 16px;
			color: #8a8a8a;
		}
	}

	//运动数据
	#sports {
		width: 100%;
		height: 160px;
		padding: 0 20px;
		margin-bottom: 20px;
		box-sizing: border-box;
		background-color: #fff;
		.icon-shujucanmou {
			position: absolute;
			top: 24px;
			color: #4294ff;
		}
		.icon-jiantou14 {
			font-size: 35px;
			position: absolute;
			right: 20px;
			top: 12px;
			color: #dee1e6;
		}
		#data {
			padding-top: 20px;
			box-sizing: border-box;
			margin: 0px 0px 20px 20px;
		}

		#sports1 {
			display: flex;
			align-items: center;

			h2 {
				margin-top: 20px;
			}

			#all {
				flex-grow: 1;
				border-right: 1px solid dotted;

				h2 i {
					font-size: 25px;
					color: #4294ff;
				}
				h2 span {
					font-size: 14px;
					color: #000000;
				}
			}
			#consume {
				flex-grow: 1;
				margin-left: 15px;

				h2 i {
					font-size: 25px;
					color: #4294ff;
				}
				h2 span {
					font-size: 14px;
					color: #000000;
				}
			}
			a {
				color: #8a8a8a;
				font-size: 16px;
			}
		}
	}

	//运动徽章
	#badge {
		width: 100%;
		height: 160px;
		padding: 0 20px;
		margin-bottom: 20px;
		box-sizing: border-box;
		background-color: #fff;

		.icon-sharpicons_badge- {
			position: absolute;
			top: 22px;
			color: #4294ff;
		}
		.icon-jiantou14 {
			font-size: 35px;
			position: absolute;
			right: 20px;
			top: 12px;
			color: #dee1e6;
		}
		#badge1 {
			padding-top: 20px;
			box-sizing: border-box;
			margin-left: 20px;
			margin-bottom: 20px;
		}
		#badge2 {
			display: flex;
			justify-content: space-between;

			img {
				flex-wrap: 1;
				width: 80px;
				height: 80px;
				border-radius: 50%;
			}
		}
	}

	//退出登录
	#out {
		width: 100%;
		height: 50px;
		line-height: 50px;
		background-color: #fff;
		margin-bottom: 20px;

		p {
			color: #4294ff;
			text-align: center;
		}
	}
}
